-
Home
-
GiveWP – Donation Plugin and Fundraising Platform
-
4.12.0 (latest)
-
Code
-
Classes
- MigrateFormsToCampaignForms
| Total Complexity |
42 |
| Dependencies |
8 |
| Dependents |
1 |
| Total lines |
368 |
| Lines of code |
214 |
| Logical lines of code |
101 |
| Comment lines |
93 |
| Methods |
17 |
| Properties |
0 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getV2FormGoalType() |
S |
59 |
8 |
14 |
| mapFormToCampaignStatus() |
S |
59 |
7 |
16 |
| getV2FormFeaturedImage() |
S |
61 |
4 |
12 |
| getAllFormsData() |
S |
48 |
2 |
36 |
| getUpgradedV2FormsData() |
S |
50 |
2 |
31 |
| createCampaignForForm() |
S |
50 |
2 |
29 |
| getV2FormSettings() |
S |
56 |
2 |
17 |
| getV2FormDescription() |
S |
64 |
3 |
10 |
| getV2FormPrimaryColor() |
S |
64 |
3 |
10 |
| run() |
S |
62 |
2 |
11 |
| id() |
S |
81 |
1 |
3 |
| title() |
S |
81 |
1 |
3 |
| timestamp() |
S |
80 |
1 |
3 |
| reverse() |
S |
72 |
1 |
6 |
| addUpgradedV2FormToCampaign() |
S |
80 |
1 |
3 |
| addCampaignFormRelationship() |
S |
69 |
1 |
7 |
| getV2FormGoalAmount() |
S |
80 |
1 |
3 |